


function ObjectSize(obj) {
 var size = 0, key;
    for (key in obj) {
        if (obj.hasOwnProperty(key))
            size += 1;
    
    }
    
    return size;
}


